package com.zxg.zbc.dal.dao;

import java.util.List;

import com.zxg.zbc.dal.dao.exception.DAOException;
import com.zxg.zbc.dal.dataobject.UserAlipayTrade;

public interface UserAliPayTradeDao {

  public long insert(UserAlipayTrade item) throws DAOException;
  public long update(UserAlipayTrade item) throws DAOException;
  public UserAlipayTrade getById(Long id) throws DAOException;
  public List<UserAlipayTrade> getTradesByUserId(Long userId) throws DAOException;
}
